<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<c:set var="grant_code">
	<x:out select="$xmlData/data/proposal/grant_code" />
</c:set>
<c:set var="sub_grant_code">
	<x:out select="$xmlData/data/proposal/sub_grant_code" />
</c:set>



<div style="margin-bottom: 5px;">
    		<strong>温馨提示：</strong><br/>
    		1、项目承担单位应正确填列资金来源，支出预算和测算依据；<br/>
2、经费预算作为项目评审立项、经费批复、绩效考核的依据；<br/>
3、项目承担单位未对支出进行分析说明的，一般不予核定预算。
</div>
<div class="t_bar">
	<span class="color_red">*</span>资金信息（单位：万元）
</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1"  id="budgetsMsg">
	<tr>
		<td  nowrap align="right" rowspan="2">项目计划投入资金总额：</td>
		<td rowspan="2"><input type="text" style="text-align: right;width: 100px"
			name="budgets/input_total" id="source_total"
			class="gray " disabled
			label="资金信息-->项目计划投入资金总额" 
			value="<x:out select="$xmlData/data/budgets/input_total" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>
		<td  nowrap align="right" nowrap>其中：已投入资金：</td>
		<td><input type="text" style="text-align: right;width: 100px"
			name="budgets/already_input_total" id="source_already"
			class="required gray valueEqual:source_already:total_allot_0" label="资金信息-->其中：已投入资金" disabled
			value="<x:out select="$xmlData/data/budgets/already_input_total" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>
		<td  nowrap align="right" nowrap>计划新增投入资金：</td>
		<td ><input type="text" style="text-align: right;width: 100px"
			name="budgets/add_research" id="source_add"
			class="required gray valueEqual:source_add:total_total_0 valueGreatEqual:source_add:source_apply" disabled
			label="资金信息-->计划新增投入资金"
			value="<x:out select="$xmlData/data/budgets/add_research" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>
		<td align="right" nowrap><span class="color_red">*</span>申请金额：</td>
		<td ><input type="text"
			style="text-align: right;width: 100px" name="budgets/apply_money"
			id="source_apply"
			class="required  valueEqual:source_apply:total_invest_0  " label="资金信息-->申请金额"
			onchange="setSource(this.value);countFundAuto('source_','own,bank,other,country,provincial,city,area','add');countFundAuto('source_','already,add','total');synchro();"
			value="<x:out select="$xmlData/data/budgets/apply_money" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>
	</tr>
	<tr>
	    <td  nowrap align="right"><span class="color_red">*</span>其中：设备购置额：</td>
		<td ><input type="text" style="text-align: right;width: 100px"
			name="budgets/purchase_equipment"  
			class="required valueGreatEqual:source_total:purchase_equipment"  id="purchase_equipment" 
			label="资金信息-->其中：设备购置额"
			onchange="synchro();"
			value="<x:out select="$xmlData/data/budgets/purchase_equipment" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>
		<td align="right"><span class="color_red">*</span>其中：本地<br/>设备采购额：</td>
		<td colspan="3"><input type="text" id="bd_purchase_equipment"
			style="text-align: right;width: 100px" name="budgets/bd_purchase_equipment"
			class="required  valueGreatEqual:source_total:bd_purchase_equipment" label="资金信息-->其中：本地设备采购额"
			onchange="synchro();"
			value="<x:out select="$xmlData/data/budgets/bd_purchase_equipment" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>
	</tr>
</table>
<br/>
<div class="t_bar">
	<span class="color_red">*</span>已投入资金来源（单位：万元）
</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1"  id="budgetsMsg1">
	<tr align="center" class="li_2">
		<td rowspan="2">自有资金</td>
		<td rowspan="2">银行贷款</td>
		<td colspan="4">已获政府资金</td>
		<td rowspan="2" >其他资金</td>
	</tr>
	<tr align="center" class="li_2">
		<td>国家</td>
		<td>省级</td>
		<td>市级</td>
		<td>区级</td>
	</tr>
	<tr class="li_1">
		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/own_fund_over" id="source_own_over"
			onchange="countFundAuto('source_','own_over,bank_over,other_over,country_over,provincial_over,city_over,area_over','already');countFundAuto('source_','already,add','total');synchro();"
			class="required" label="已投入资金来源-->自有资金"
			value="<x:out select="$xmlData/data/budgets/own_fund_over" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>

		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/bank_fund_over" id="source_bank_over"
			onchange="countFundAuto('source_','own_over,bank_over,other_over,country_over,provincial_over,city_over,area_over','already');countFundAuto('source_','already,add','total');synchro();"
			class="required" label="已投入资金来源-->银行贷款"
			value="<x:out select="$xmlData/data/budgets/bank_fund_over" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>

	

		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/country_fund_over" id="source_country_over"
			onchange="countFundAuto('source_','own_over,bank_over,other_over,country_over,provincial_over,city_over,area_over','already');countFundAuto('source_','already,add','total');synchro();"
			class="required" label="已投入资金来源-->已获政府资金（国家）"
			value="<x:out select="$xmlData/data/budgets/country_fund_over" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>

		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/provincial_fund_over" id="source_provincial_over"
			onchange="countFundAuto('source_','own_over,bank_over,other_over,country_over,provincial_over,city_over,area_over','already');countFundAuto('source_','already,add','total');synchro();"
			class="required" label="已投入资金来源-->已获政府资金（省级）"
			value="<x:out select="$xmlData/data/budgets/provincial_fund_over" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>

		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/city_fund_over" id="source_city_over"
			onchange="countFundAuto('source_','own_over,bank_over,other_over,country_over,provincial_over,city_over,area_over','already');countFundAuto('source_','already,add','total');synchro();"
			class="required " label="已投入资金来源-->已获政府资金（市级）"
			value="<x:out select="$xmlData/data/budgets/city_fund_over" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>
		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/area_fund_over" id="source_area_over"
			onchange="countFundAuto('source_','own_over,bank_over,other_over,country_over,provincial_over,city_over,area_over','already');countFundAuto('source_','already,add','total');synchro();"
			class="required" label="已投入资金来源-->已获政府资金（区级）"
			value="<x:out select="$xmlData/data/budgets/area_fund_over" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>
		
	<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/other_fund_over" id="source_other_over"
			onchange="countFundAuto('source_','own_over,bank_over,other_over,country_over,provincial_over,city_over,area_over','already');countFundAuto('source_','already,add','total');synchro();"
			class="required " label="已投入资金来源-->其他资金"
			value="<x:out select="$xmlData/data/budgets/other_fund_over" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>	
			
	</tr>

</table>
<br/>
<div class="t_bar">
	<span class="color_red">*</span>计划新增投入资金来源（单位：万元）
</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1"  id="budgetsMsg2">
	<tr align="center" class="li_2">
		<td rowspan="2">自有资金</td>
		<td rowspan="2">银行贷款</td>
		<td colspan="4">已获政府资金</td>
		<td rowspan="2" >其他资金</td>
	</tr>
	<tr align="center" class="li_2">
		<td>国家</td>
		<td>省级</td>
		<td>市级</td>
		<td>区级</td>
	</tr>
	<tr class="li_1">
		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/own_fund" id="source_own"
			onchange="countFundAuto('source_','own,bank,other,country,provincial,city,area','add');countFundAuto('source_','already,add','total');synchro();"
			class="required" label="计划新增投入资金来源-->自有资金"
			value="<x:out select="$xmlData/data/budgets/own_fund" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>

		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/bank_fund" id="source_bank"
			onchange="countFundAuto('source_','own,bank,other,country,provincial,city,area','add');countFundAuto('source_','already,add','total');synchro();"
			class="required" label="计划新增投入资金来源-->银行贷款"
			value="<x:out select="$xmlData/data/budgets/bank_fund" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>

	

		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/country_fund" id="source_country"
			onchange="countFundAuto('source_','own,bank,other,country,provincial,city,area','add');countFundAuto('source_','already,add','total');synchro();"
			class="required" label="计划新增投入资金来源-->已获政府资金（国家）"
			value="<x:out select="$xmlData/data/budgets/country_fund" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>

		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/provincial_fund" id="source_provincial"
			onchange="countFundAuto('source_','own,bank,other,country,provincial,city,area','add');countFundAuto('source_','already,add','total');synchro();"
			class="required" label="计划新增投入资金来源-->已获政府资金（省级）"
			value="<x:out select="$xmlData/data/budgets/provincial_fund" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>

		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/city_fund" id="source_city"
			onchange="countFundAuto('source_','own,bank,other,country,provincial,city,area','add');countFundAuto('source_','already,add','total');synchro();"
			class="required " label="计划新增投入资金来源-->已获政府资金（市级）"
			value="<x:out select="$xmlData/data/budgets/city_fund" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>
		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/area_fund" id="source_area"
			onchange="countFundAuto('source_','own,bank,other,country,provincial,city,area','add');countFundAuto('source_','already,add','total');synchro();"
			class="required" label="计划新增投入资金来源-->已获政府资金（区级）"
			value="<x:out select="$xmlData/data/budgets/area_fund" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>
		
	<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/other_fund" id="source_other"
			onchange="countFundAuto('source_','own,bank,other,country,provincial,city,area','add');countFundAuto('source_','already,add','total');synchro();"
			class="required " label="计划新增投入资金来源-->其他资金"
			value="<x:out select="$xmlData/data/budgets/other_fund" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>	
			
	</tr>

</table>
<br/>
<div class="t_bar">
	<span class="color_red">*</span>项目计划投入资金总额（单位：万元）
</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1" id="fundAdds">

	<tr class="li_2">
		<td align="center" width="240" rowspan="2">支出科目</td>
		<td class="TblHead" align="center" width="80" colspan="2">计划新增投入资金</td>
		<td class="TblHead" align="center" width="80" rowspan="2">已投入资金</td>
		<td class="TblHead" align="center" width="80" rowspan="2">合计</td>
		<td class="TblHead" align="center" width="80" rowspan="2">用途说明</td>
	</tr>
	<tr >
		<td class="TblHead" align="center" width="80">总额</td>
		<td class="TblHead" align="center" width="80">其中：申请资助经费</td>
	</tr>
	<tr>
		<td align="left" style="padding-left: 20px">合计</td>
		<td><input type="hidden"
			name="budget/invest_detail/invest[00]@invest_code" value="00" /> <input
			type="hidden" name="budget/invest_detail/invest[00]/name" value="合计" />
			<input type="text" name="budget/invest_detail/invest[00]/total_total"
			id="total_total_0" class="gray" disabled
			style="text-align: right; width: 100px;" label="项目计划投入资金总额-->总额合计"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='00']/total_total" />" />
		</td>
		<td><input type="text"
			name="budget/invest_detail/invest[00]/total_invest"
			id="total_invest_0" class="gray" disabled
			style="text-align: right; width: 100px;" label="项目计划投入资金总额-->申请资助经费合计"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='00']/total_invest" />" />
		</td>


		<td><input type="text" style="text-align: right; width: 100px"
			name="budget/invest_detail/invest[00]/total_allot" id="total_allot_0"
			class="gray" disabled label="项目计划投入资金总额-->已投入资金合计"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='00']/total_allot" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>
		<td><input type="text" style="text-align: right; width: 100px"
			name="budget/invest_detail/invest[00]/total_self" id="total_self_0"
			class="gray" disabled
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='00']/total_self" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>
		<td><input type="text" style="width: 100px"
			name="budget/invest_detail/invest[00]/total_country"
			id="total_country_0" class="" 
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='00']/total_country" />"/></td>
	</tr>

	<tr>
		<td align="left" style="padding-left: 20px">1、设备费</td>
		<td><input type="hidden"
			name="budget/invest_detail/invest[01]@invest_code" value="01" /> <input
			type="hidden" name="budget/invest_detail/invest[01]/name"
			value="1、设备费" /> <input type="text"
			style="text-align: right; width: 100px"
			name="budget/invest_detail/invest[01]/total_total" id="total_total_1"
			class="gray " disabled label="设备费总额"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='01']/total_total" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>
		<td><input type="text"
			name="budget/invest_detail/invest[01]/total_invest"
			id="total_invest_1" class="gray" disabled
			style="text-align: right; width: 100px;" label="设备费其中：申请资助经费"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='01']/total_invest" />" />

		</td>
		<td><input type="text" style="text-align: right; width: 100px"
			name="budget/invest_detail/invest[01]/total_allot" id="total_allot_1"
			class="gray " disabled label="设备费已投入资金"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='01']/total_allot" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>
		<td><input type="text" style="text-align: right; width: 100px"
			name="budget/invest_detail/invest[01]/total_self" id="total_self_1"
			class="gray" disabled label="设备费合计"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='01']/total_self" />"
			onfocus="InitInput.setNumber(this,9,4,2)" /></td>
		<td align="center"><span name="budget/invest_detail/invest[01]/total_country">按照表1、2列示填</span></td>
	</tr>
	<tr>
		<td align="left" style="padding-left: 40px">（1）购置设备费</td>
		<td><input type="hidden"
			name="budget/invest_detail/invest[02]@invest_code" value="02" /> <input
			type="hidden" name="budget/invest_detail/invest[02]/name"
			value="（1）购置设备费" /> <input type="text"
			name="budget/invest_detail/invest[02]/total_total" id="total_total_2"
			label="购置设备费中的总额" style="text-align: right; width: 100px;"
			onfocus="InitInput.setNumber(this,9,4,2)"
			class=" valueGreatEqual:total_total_2:total_invest_2  "
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='02']/total_total" />"
			onchange="countFundAuto('total_','total_2,total_3,total_4','total_1');
				    countFundAuto('total_','total_1,total_5,total_6,total_7,total_8,total_9,total_10,total_11,total_12,,total_13,total_14,total_15','total_0');
				    countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_2,allot_2','self_2');" />
		</td>
		<td><input type="text"
			name="budget/invest_detail/invest[02]/total_invest"
			id="total_invest_2" label="购置设备费中的申请资助经费"
			style="text-align: right; width: 100px;"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='02']/total_invest" />"
			onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				    countFundAuto('total_','invest_1,invest_5,invest_6,invest_7,invest_8','invest_0');" /></td>

		<td><input type="text" style="text-align: right; width: 100px"
			name="budget/invest_detail/invest[02]/total_allot" id="total_allot_2"
			label="购置设备费已投入资金"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='02']/total_allot" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','allot_2,allot_3,allot_4','allot_1');
				    countFundAuto('total_','allot_1,allot_5,allot_6,allot_7,allot_8,allot_9,allot_10,allot_11,allot_12,,allot_13,allot_14,allot_15','allot_0');
				    countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_2,allot_2','self_2');" /></td>
		<td><input type="text" style="text-align: right; width: 100px"
			name="budget/invest_detail/invest[02]/total_self" id="total_self_2"
			label="购置设备费合计" class="gray" disabled
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='02']/total_self" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','self_2,self_3,self_4','self_1');
				    countFundAuto('total_','self_1,self_5,self_6,self_7,self_8,self_9,self_10,self_11,self_12,,self_13,self_14,self_15','self_0');" /></td>
		<td><input type="text" style="width: 100px"
			name="budget/invest_detail/invest[02]/total_country"
			id="total_country_2" 
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='02']/total_country" />"/></td>
	</tr>
	<tr>
		<td align="left" style="padding-left: 40px">（2）自制设备费</td>
		<td><input type="hidden"
			name="budget/invest_detail/invest[03]@invest_code" value="03">
			<input type="hidden" name="budget/invest_detail/invest[03]/name"
			value="（2）自制设备费"> <input type="text"
			name="budget/invest_detail/invest[03]/total_total" label="自制设备费中的总额"
			style="text-align: right; width: 100px;" id="total_total_3"
			onfocus="InitInput.setNumber(this,9,4,2)"
			class=" valueGreatEqual:total_total_3:total_invest_3 "
			onchange="countFundAuto('total_','total_2,total_3,total_4','total_1');
				countFundAuto('total_','total_1,total_5,total_6,total_7,total_8,total_9,total_10,total_11,total_12,,total_13,total_14,total_15','total_0');
				countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_3,allot_3','self_3');"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='03']/total_total" />" />
		</td>
		<td><input type="text"
			name="budget/invest_detail/invest[03]/total_invest"
			label="自制设备费中的申请资助经费" style="text-align: right; width: 100px;"
			id="total_invest_3" onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='03']/total_invest" />"
			onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				    countFundAuto('total_','invest_1,invest_5,invest_6,invest_7,invest_8','invest_0');" /></td>
		<td><input type="text" style="text-align: right; width: 100px"
			name="budget/invest_detail/invest[03]/total_allot"
			label="自制设备费已投入资金" id="total_allot_3"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='03']/total_allot" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','allot_2,allot_3,allot_4','allot_1');
				    countFundAuto('total_','allot_1,allot_5,allot_6,allot_7,allot_8,allot_9,allot_10,allot_11,allot_12,,allot_13,allot_14,allot_15','allot_0');
				    countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_3,allot_3','self_3');" /></td>
		<td><input type="text" style="text-align: right; width: 100px"
			name="budget/invest_detail/invest[03]/total_self"
			label="自制设备费中合计" id="total_self_3" class="gray" disabled
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='03']/total_self" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','self_2,self_3,self_4','self_1');
				    countFundAuto('total_','self_1,self_5,self_6,self_7,self_8,self_9,self_10,self_11,self_12,,self_13,self_14,self_15','self_0');" /></td>
		<td><input type="text" style="width: 100px"
			name="budget/invest_detail/invest[03]/total_country"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='03']/total_country" />" /></td>
	</tr>
	<tr>
		<td align="left" style="padding-left: 40px">（3）设备改造与租赁费</td>
		<td><input type="hidden"
			name="budget/invest_detail/invest[04]@invest_code" value="04">
			<input type="hidden" name="budget/invest_detail/invest[04]/name"
			value="（3）设备改造与租赁费"> <input type="text"
			name="budget/invest_detail/invest[04]/total_total"
			class=" valueGreatEqual:total_total_4:total_invest_4 "
			label="设备改造与租赁费中的总额" style="text-align: right; width: 100px;"
			id="total_total_4" onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','total_2,total_3,total_4','total_1');
						countFundAuto('total_','total_1,total_5,total_6,total_7,total_8,total_9,total_10,total_11,total_12,,total_13,total_14,total_15','total_0');
						countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_4,allot_4','self_4');"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='04']/total_total" />" />
		</td>
		<td><input type="text"
			name="budget/invest_detail/invest[04]/total_invest"
			label="设备改造与租赁费中的申请资助经费" style="text-align: right; width: 100px;"
			id="total_invest_4" onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='04']/total_invest" />"
			onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				    countFundAuto('total_','invest_1,invest_5,invest_6,invest_7,invest_8','invest_0');" /></td>
		<td><input type="text" style="text-align: right; width: 100px"
			name="budget/invest_detail/invest[04]/total_allot"
			class=" valueGreatEqual:total_total_4:total_allot_4 "
			label="设备改造与租赁费已投入资金" id="total_allot_4"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='04']/total_allot" />"
			onchange="countFundAuto('total_','allot_2,allot_3,allot_4','allot_1');
				    countFundAuto('total_','allot_1,allot_5,allot_6,allot_7,allot_8,allot_9,allot_10,allot_11,allot_12,,allot_13,allot_14,allot_15','allot_0');
				    countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_4,allot_4','self_4');" /></td>
		<td><input type="text" style="text-align: right; width: 100px"
			name="budget/invest_detail/invest[04]/total_self"
			label="设备改造与租赁费中合计" id="total_self_4" class="gray" disabled
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='04']/total_self" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','self_2,self_3,self_4','self_1');
				    countFundAuto('total_','self_1,self_5,self_6,self_7,self_8,self_9,self_10,self_11,self_12,,self_13,self_14,self_15','self_0');" /></td>
		<td><input type="text" style="width: 100px"
			name="budget/invest_detail/invest[04]/total_country"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='04']/total_country" />"/></td>
	</tr>
	<tr>
		<td align="left" style="padding-left: 20px">2、基本建设费</td>
		<td><input type="hidden"
			name="budget/invest_detail/invest[05]@invest_code" value="05">
			<input type="hidden" name="budget/invest_detail/invest[05]/name"
			value="2、基本建设费"> <input type="text"
			class=" valueGreatEqual:total_total_5:total_invest_5 "
			name="budget/invest_detail/invest[05]/total_total" id="total_total_5"
			label="基本建设费中的总额" onfocus="InitInput.setNumber(this,9,4,2)"
			style="text-align: right; width: 100px;"
			onchange="countFundAuto('total_','total_1,total_5,total_6,total_7,total_8,total_9,total_10,total_11,total_12,,total_13,total_14,total_15','total_0');countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_5,allot_5','self_5');"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='05']/total_total" />" />
		</td>
		<td><input type="text"
			name="budget/invest_detail/invest[05]/total_invest"
			id="total_invest_5" label="基本建设费中的申请资助经费"
			onfocus="InitInput.setNumber(this,9,4,2)"
			style="text-align: right; width: 100px;"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='05']/total_invest" />"
			onchange="countFundAuto('total_','invest_1,invest_5,invest_6,invest_7,invest_8','invest_0');" /></td>

		<td><input type="text" style="text-align: right; width: 100px"
			id="total_allot_5" name="budget/invest_detail/invest[05]/total_allot"
			label="基本建设费已投入资金"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='05']/total_allot" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','allot_1,allot_5,allot_6,allot_7,allot_8,allot_9,allot_10,allot_11,allot_12,,allot_13,allot_14,allot_15','allot_0');
			countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_5,allot_5','self_5');" /></td>
		<td><input type="text" style="text-align: right; width: 100px"
			id="total_self_5" name="budget/invest_detail/invest[05]/total_self"
			label="基本建设费合计" class="gray" disabled
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='05']/total_self" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','self_1,self_5,self_6,self_7,self_8,self_9,self_10,self_11,self_12,,self_13,self_14,self_15','self_0');" /></td>
		<td><input type="text" style="width: 100px"
			id="total_country_5"
			name="budget/invest_detail/invest[05]/total_country"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='05']/total_country" />"/></td>
	</tr>
	<tr>
		<td align="left" style="padding-left: 20px">3、材料费</td>
		<td><input type="hidden"
			name="budget/invest_detail/invest[06]@invest_code" value="06">
			<input type="hidden" name="budget/invest_detail/invest[06]/name"
			value="3、材料费"> <input type="text"
			name="budget/invest_detail/invest[06]/total_total" id="total_total_6"
			label="材料费中的总额"
			class=" valueGreatEqual:total_total_6:total_invest_6 "
			onchange="countFundAuto('total_','total_1,total_5,total_6,total_7,total_8,total_9,total_10,total_11,total_12,,total_13,total_14,total_15','total_0');
			countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_6,allot_6','self_6');"
			style="text-align: right; width: 100px;"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='06']/total_total" />" />
		</td>
		<td><input type="text"
			name="budget/invest_detail/invest[06]/total_invest"
			id="total_invest_6" label="材料费中的申请资助经费"
			onfocus="InitInput.setNumber(this,9,4,2)"
			style="text-align: right; width: 100px;"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='06']/total_invest" />"
			onchange="countFundAuto('total_','invest_1,invest_5,invest_6,invest_7,invest_8','invest_0');" /></td>

		<td><input type="text" style="text-align: right; width: 100px"
			id="total_allot_6" name="budget/invest_detail/invest[06]/total_allot"
			label="材料费已投入资金"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='06']/total_allot" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange=" countFundAuto('total_','allot_1,allot_5,allot_6,allot_7,allot_8,allot_9,allot_10,allot_11,allot_12,,allot_13,allot_14,allot_15','allot_0');
			countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_6,allot_6','self_6');" /></td>
		<td><input type="text" style= "text-align: right; width: 100px" id="total_self_6" name="budget/invest_detail/invest[06]/total_self" label="材料费合计"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='06']/total_self" />"
			onfocus="InitInput.setNumber(this,9,4,2)" class="gray" disabled
			onchange="countFundAuto('total_','self_1,self_5,self_6,self_7,self_8,self_9,self_10,self_11,self_12,,self_13,self_14,self_15','self_0');" /></td>

		<td><input type="text" style="width: 100px"
			id="total_country_6"
			name="budget/invest_detail/invest[06]/total_country"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='06']/total_country" />"/></td>
	</tr>
	<tr>
		<td align="left" style="padding-left: 20px">4、测试化验加工费</td>
		<td><input type="hidden"
			name="budget/invest_detail/invest[07]@invest_code" value="07">
			<input type="hidden" name="budget/invest_detail/invest[07]/name"
			value="4、测试化验加工费"> <input type="text"
			name="budget/invest_detail/invest[07]/total_total" id="total_total_7"
			label="测试化验加工费中的总额" onfocus="InitInput.setNumber(this,9,4,2)"
			style="text-align: right; width: 100px;"
			class=" valueGreatEqual:total_total_7:total_invest_7 "
			onchange="countFundAuto('total_','total_1,total_5,total_6,total_7,total_8,total_9,total_10,total_11,total_12,,total_13,total_14,total_15','total_0');
			countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_7,allot_7','self_7');"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='07']/total_total" />" />
		</td>
		<td><input type="text"
			name="budget/invest_detail/invest[07]/total_invest"
			id="total_invest_7" label="测试化验加工费中的申请资助经费"
			onfocus="InitInput.setNumber(this,9,4,2)"
			style="text-align: right; width: 100px;"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='07']/total_invest" />"
			onchange="countFundAuto('total_','invest_1,invest_5,invest_6,invest_7,invest_8','invest_0');" /></td>

		<td><input type="text" style="text-align: right; width: 100px"
			id="total_allot_7" name="budget/invest_detail/invest[07]/total_allot"
			label="测试化验加工费已投入资金"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='07']/total_allot" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','allot_1,allot_5,allot_6,allot_7,allot_8,allot_9,allot_10,allot_11,allot_12,,allot_13,allot_14,allot_15','allot_0');
			countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_7,allot_7','self_7');" /></td>

		<td><input type="text" style="text-align: right; width: 100px"
			id="total_self_7" name="budget/invest_detail/invest[07]/total_self"
			label="测试化验加工费合计" class="gray" disabled
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='07']/total_self" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','self_1,self_5,self_6,self_7,self_8,self_9,self_10,self_11,self_12,,self_13,self_14,self_15','self_0');" /></td>

		<td><input type="text" style="width: 100px"
			id="total_country_7"
			name="budget/invest_detail/invest[07]/total_country"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='07']/total_country" />" /></td>
	</tr>
	<tr>
		<td align="left" style="padding-left: 20px">5、燃料动力费</td>
		<td><input type="hidden"
			name="budget/invest_detail/invest[08]@invest_code" value="08">
			<input type="hidden" name="budget/invest_detail/invest[08]/name"
			value="5、燃料动力费"> <input type="text"
			name="budget/invest_detail/invest[08]/total_total" id="total_total_8"
			label="燃料动力费中的总额" onfocus="InitInput.setNumber(this,9,4,2)"
			style="text-align: right; width: 100px;"
			class=" valueGreatEqual:total_total_8:total_invest_8 "
			onchange="countFundAuto('total_','total_1,total_5,total_6,total_7,total_8,total_9,total_10,total_11,total_12,,total_13,total_14,total_15','total_0');
			countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_8,allot_8','self_8');"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='08']/total_total" />" />
		</td>
		<td><input type="text"
			name="budget/invest_detail/invest[08]/total_invest"
			id="total_invest_8" label="燃料动力费中的申请资助经费"
			onfocus="InitInput.setNumber(this,9,4,2)"
			style="text-align: right; width: 100px;"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='08']/total_invest" />"
			onchange="countFundAuto('total_','invest_1,invest_5,invest_6,invest_7,invest_8','invest_0');" /></td>

		<td><input type="text" style="text-align: right; width: 100px"
			id="total_allot_8" name="budget/invest_detail/invest[08]/total_allot"
			label="燃料动力费已投入资金"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='08']/total_allot" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','allot_1,allot_5,allot_6,allot_7,allot_8,allot_9,allot_10,allot_11,allot_12,,allot_13,allot_14,allot_15','allot_0');
			countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_8,allot_8','self_8');" /></td>

		<td><input type="text" style="text-align: right; width: 100px"
			id="total_self_8" name="budget/invest_detail/invest[08]/total_self"
			label="燃料动力费合计" class="gray" disabled
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='08']/total_self" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','self_1,self_5,self_6,self_7,self_8,self_9,self_10,self_11,self_12,,self_13,self_14,self_15','self_0');" /></td>

		<td><input type="text" style="width: 100px"
			id="total_country_8"
			name="budget/invest_detail/invest[08]/total_country"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='08']/total_country" />" /></td>
	</tr>
	<tr>
		<td align="left" style="padding-left: 20px">6、差旅费</td>
		<td><input type="hidden"
			name="budget/invest_detail/invest[09]@invest_code" value="09">
			<input type="hidden" name="budget/invest_detail/invest[09]/name"
			value="6、差旅费"> <input type="text"
			name="budget/invest_detail/invest[09]/total_total" id="total_total_9"
			label="差旅费中的总额" onfocus="InitInput.setNumber(this,9,4,2)"
			style="text-align: right; width: 100px;"
			onchange="countFundAuto('total_','total_1,total_5,total_6,total_7,total_8,total_9,total_10,total_11,total_12,,total_13,total_14,total_15','total_0');
			countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_9,allot_9','self_9');"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='09']/total_total" />" />
		</td>
		<td align="center"><span
			name="budget/invest_detail/invest[9]/total_invest">/</span></td>
		<td><input type="text" style="text-align: right; width: 100px"
			id="total_allot_9" name="budget/invest_detail/invest[09]/total_allot"
			label="差旅费已投入资金"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='09']/total_allot" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','allot_1,allot_5,allot_6,allot_7,allot_8,allot_9,allot_10,allot_11,allot_12,,allot_13,allot_14,allot_15','allot_0');
			countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_9,allot_9','self_9');" /></td>

		<td><input type="text" style="text-align: right; width: 100px"
			id="total_self_9" name="budget/invest_detail/invest[09]/total_self"
			label="差旅费合计" class="gray" disabled
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='09']/total_self" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','self_1,self_5,self_6,self_7,self_8,self_9,self_10,self_11,self_12,,self_13,self_14,self_15','self_0');" /></td>

		<td><input type="text" style="width: 100px"
			id="total_country_9"
			name="budget/invest_detail/invest[09]/total_country"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='09']/total_country" />"/></td>
	</tr>
	<tr>
		<td align="left" style="padding-left: 20px">7、会议费</td>
		<td><input type="hidden"
			name="budget/invest_detail/invest[10]@invest_code" value="10">
			<input type="hidden" name="budget/invest_detail/invest[10]/name"
			value="7、会议费"> <input type="text"
			name="budget/invest_detail/invest[10]/total_total"
			id="total_total_10" label="会议费中的总额"
			onfocus="InitInput.setNumber(this,9,4,2)"
			style="text-align: right; width: 100px;"
			onchange="countFundAuto('total_','total_1,total_5,total_6,total_7,total_8,total_9,total_10,total_11,total_12,,total_13,total_14,total_15','total_0');
			countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_10,allot_10','self_10');"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='10']/total_total" />" />
		</td>
		<td align="center"><span
			name="budget/invest_detail/invest[10]/total_invest">/</span></td>
		<td><input type="text" style="text-align: right; width: 100px"
			id="total_allot_10"
			name="budget/invest_detail/invest[10]/total_allot"
			label="会议费已投入资金"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='10']/total_allot" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','allot_1,allot_5,allot_6,allot_7,allot_8,allot_9,allot_10,allot_11,allot_12,,allot_13,allot_14,allot_15','allot_0');
			countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_10,allot_10','self_10');" /></td>

		<td><input type="text" style="text-align: right; width: 100px"
			id="total_self_10" name="budget/invest_detail/invest[10]/total_self"
			label="会议费合计"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='10']/total_self" />"
			onfocus="InitInput.setNumber(this,9,4,2)" class="gray" disabled
			onchange="countFundAuto('total_','self_1,self_5,self_6,self_7,self_8,self_9,self_10,self_11,self_12,,self_13,self_14,self_15','self_0');" /></td>

		<td><input type="text" style="width: 100px"
			id="total_country_10"
			name="budget/invest_detail/invest[10]/total_country"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='10']/total_country" />" /></td>
	</tr>
	<tr>
		<td align="left" style="padding-left: 20px">8、技术合作与交流费</td>
		<td><input type="hidden"
			name="budget/invest_detail/invest[11]@invest_code" value="11">
			<input type="hidden" name="budget/invest_detail/invest[11]/name"
			value="8、技术合作与交流费"> <input type="text"
			name="budget/invest_detail/invest[11]/total_total"
			id="total_total_11" label="技术合作与交流费中的总额"
			onfocus="InitInput.setNumber(this,9,4,2)"
			style="text-align: right; width: 100px;"
			onchange="countFundAuto('total_','total_1,total_5,total_6,total_7,total_8,total_9,total_10,total_11,total_12,,total_13,total_14,total_15','total_0');
			countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_11,allot_11','self_11');"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='11']/total_total" />" />
		</td>
		<td align="center"><span
			name="budget/invest_detail/invest[11]/total_invest">/</span></td>
		<td><input type="text" style="text-align: right; width: 100px"
			id="total_allot_11"
			name="budget/invest_detail/invest[11]/total_allot"
			label="技术合作与交流费已投入资金"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='11']/total_allot" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','allot_1,allot_5,allot_6,allot_7,allot_8,allot_9,allot_10,allot_11,allot_12,,allot_13,allot_14,allot_15','allot_0');
			countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_11,allot_11','self_11');" /></td>

		<td><input type="text" style="text-align: right; width: 100px"
			id="total_self_11" name="budget/invest_detail/invest[11]/total_self"
			label="技术合作与交流费合计" class="gray" disabled
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='11']/total_self" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','self_1,self_5,self_6,self_7,self_8,self_9,self_10,self_11,self_12,,self_13,self_14,self_15','self_0');" /></td>

		<td>
		<span name="budget/invest_detail/invest[11]/total_country">按照表3列示填报</span>
		</td>
	</tr>
	<tr>
		<td align="left" style="padding-left: 20px">9、出版费/文献/知识产权事务费</td>
		<td><input type="hidden"
			name="budget/invest_detail/invest[12]@invest_code" value="12">
			<input type="hidden" name="budget/invest_detail/invest[12]/name"
			value="9、出版费/文献/知识产权事务费"> <input type="text"
			name="budget/invest_detail/invest[12]/total_total"
			id="total_total_12" label="出版费/文献/知识产权事务费中的总额"
			onfocus="InitInput.setNumber(this,9,4,2)"
			style="text-align: right; width: 100px;"
			onchange="countFundAuto('total_','total_1,total_5,total_6,total_7,total_8,total_9,total_10,total_11,total_12,,total_13,total_14,total_15','total_0');
			countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_12,allot_12','self_12');"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='12']/total_total" />" />
		</td>
		<td align="center"><span
			name="budget/invest_detail/invest[12]/total_invest">/</span></td>
		<td><input type="text" style="text-align: right; width: 100px"
			id="total_allot_12"
			name="budget/invest_detail/invest[12]/total_allot"
			label="出版费/文献/知识产权事务费已投入资金"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='12']/total_allot" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','allot_1,allot_5,allot_6,allot_7,allot_8,allot_9,allot_10,allot_11,allot_12,,allot_13,allot_14,allot_15','allot_0');
			countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_12,allot_12','self_12');" /></td>

		<td><input type="text" style="text-align: right; width: 100px"
			id="total_self_12" name="budget/invest_detail/invest[12]/total_self"
			label="出版费/文献/知识产权事务费合计" class="gray" disabled
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='12']/total_self" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','self_1,self_5,self_6,self_7,self_8,self_9,self_10,self_11,self_12,,self_13,self_14,self_15','self_0');" /></td>

		<td><input type="text" style="width: 100px"
			id="total_country_12"
			name="budget/invest_detail/invest[12]/total_country"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='12']/total_country" />"/></td>
	</tr>
	<tr>
		<td align="left" style="padding-left: 20px">10、人员费用</td>
		<td><input type="hidden"
			name="budget/invest_detail/invest[13]@invest_code" value="13">
			<input type="hidden" name="budget/invest_detail/invest[13]/name"
			value="10、人员费用"> <input type="text"
			name="budget/invest_detail/invest[13]/total_total"
			id="total_total_13" label="人员费用中的总额"
			onfocus="InitInput.setNumber(this,9,4,2)"
			style="text-align: right; width: 100px;"
			onchange="countFundAuto('total_','total_1,total_5,total_6,total_7,total_8,total_9,total_10,total_11,total_12,,total_13,total_14,total_15','total_0');
			countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_13,allot_13','self_13');"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='13']/total_total" />" />
		</td>
		<td align="center"><span
			name="budget/invest_detail/invest[13]/total_invest">/</span></td>
		<td><input type="text" style="text-align: right; width: 100px"
			id="total_allot_13"
			name="budget/invest_detail/invest[13]/total_allot"
			label="人员费用已投入资金"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='13']/total_allot" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','allot_1,allot_5,allot_6,allot_7,allot_8,allot_9,allot_10,allot_11,allot_12,,allot_13,allot_14,allot_15','allot_0');
			countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_13,allot_13','self_13');" /></td>

		<td><input type="text" style="text-align: right; width: 100px"
			id="total_self_13" name="budget/invest_detail/invest[13]/total_self"
			label="人员费用合计" class="gray" disabled
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='13']/total_self" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','self_1,self_5,self_6,self_7,self_8,self_9,self_10,self_11,self_12,,self_13,self_14,self_15','self_0');" /></td>

		<td><input type="text" style="width: 100px"
			id="total_country_13"
			name="budget/invest_detail/invest[13]/total_country"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='13']/total_country" />" /></td>
	</tr>

	<tr>
		<td align="left" style="padding-left: 20px">11、管理费用</td>
		<td><input type="hidden"
			name="budget/invest_detail/invest[14]@invest_code" value="14">
			<input type="hidden" name="budget/invest_detail/invest[14]/name"
			value="11、管理费用"> <input type="text"
			name="budget/invest_detail/invest[14]/total_total"
			id="total_total_14" label="管理费用中的总额"
			onfocus="InitInput.setNumber(this,9,4,2)"
			style="text-align: right; width: 100px;"
			onchange="countFundAuto('total_','total_1,total_5,total_6,total_7,total_8,total_9,total_10,total_11,total_12,,total_13,total_14,total_15','total_0');
			countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_14,allot_14','self_14');"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='14']/total_total" />" />
		</td>
		<td align="center"><span
			name="budget/invest_detail/invest[14]/total_invest">/</span></td>
		<td><input type="text" style="text-align: right; width: 100px"
			id="total_allot_14"
			name="budget/invest_detail/invest[14]/total_allot"
			label="管理费用已投入资金"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='14']/total_allot" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','allot_1,allot_5,allot_6,allot_7,allot_8,allot_9,allot_10,allot_11,allot_12,,allot_13,allot_14,allot_15','allot_0');
			countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_14,allot_14','self_14');"/></td>

		<td><input type="text" style="text-align: right; width: 100px"
			id="total_self_14" name="budget/invest_detail/invest[14]/total_self"
			label="管理费用合计" class="gray" disabled
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='14']/total_self" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','self_1,self_5,self_6,self_7,self_8,self_9,self_10,self_11,self_12,,self_13,self_14,self_15','self_0');" /></td>

		<td><input type="text" style="width: 100px"
			id="total_country_14"
			name="budget/invest_detail/invest[14]/total_country"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='14']/total_country" />"/></td>
	</tr>

	<tr>
		<td align="left" style="padding-left: 20px">12、其他费用</td>
		<td><input type="hidden"
			name="budget/invest_detail/invest[15]@invest_code" value="15">
			<input type="hidden" name="budget/invest_detail/invest[15]/name"
			value="12、其他费用"> <input type="text"
			name="budget/invest_detail/invest[15]/total_total"
			id="total_total_15" label="其他费用中的合计"
			onfocus="InitInput.setNumber(this,9,4,2)"
			style="text-align: right; width: 100px;"
			onchange="countFundAuto('total_','total_1,total_5,total_6,total_7,total_8,total_9,total_10,total_11,total_12,,total_13,total_14,total_15','total_0');
			countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_15,allot_15','self_15');"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='15']/total_total" />" />
		</td>
		<td align="center"><span
			name="budget/invest_detail/invest[15]/total_invest">/</span></td>
		<td><input type="text" style="text-align: right; width: 100px"
			id="total_allot_15"
			name="budget/invest_detail/invest[15]/total_allot"
			label="其他费用已投入资金"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='15']/total_allot" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','allot_1,allot_5,allot_6,allot_7,allot_8,allot_9,allot_10,allot_11,allot_12,,allot_13,allot_14,allot_15','allot_0');
			countFundAuto('total_','total_0,allot_0','self_0');countFundAuto('total_','total_1,allot_1','self_1');countFundAuto('total_','total_15,allot_15','self_15');"/></td>

		<td><input type="text" style="text-align: right; width: 100px"
			id="total_self_15" name="budget/invest_detail/invest[15]/total_self"
			label="其他费用合计" class="gray" disabled
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='15']/total_self" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="countFundAuto('total_','self_1,self_5,self_6,self_7,self_8,self_9,self_10,self_11,self_12,,self_13,self_14,self_15','self_0');" /></td>

		<td><input type="text" style="width: 100px"
			id="total_country_15"
			name="budget/invest_detail/invest[15]/total_country"
			value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='15']/total_country" />" /></td>
	</tr>
</table>


<br/>
<div class="t_bar">表1：已投入设备清单明细表</div>
<table  id="tblEuipmentLists" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="4%">选择</th>
						<th class="TblHead" align="center"  width="4%">序号</th>
						<th class="TblHead" align="center"  width="9%">设备名称</th> 
						<th class="TblHead" align="center"  width="8%">购置/试制</th> 
				        <th class="TblHead" align="center"  width="7%">设备单价<br/>（万元/台件）</th> 
						<th class="TblHead" align="center"  width="7%">数量<br/>（台件）</th>
						<th class="TblHead" align="center"  width="7%">总价<br/>（万元）</th>
						<th class="TblHead" align="center"  width="8%">设备型号</th>  
						<th class="TblHead" align="center"  width="10%">设备生产国<br/>别与地区</th>
						<th class="TblHead" align="center"  width="8%">发票号码</th>   
						<th class="TblHead" align="center"  width="12%">日期</th>   
						<th class="TblHead" align="center"  width="8%">用途</th>   
						<th class="TblHead" align="center"  width="8%">备注</th>           
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none" align="center">
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selEuipmentLists" >
						</td>
						<td align="center">&nbsp;
							<span name="euipments|list[0]@seq_no" >[index]</span> 
						</td>
						<td>
							<input type="text" name="euipments|list[0]|name" label="设备名称" class=" required input_text " maxlength="50" style="width:80%"/>
						</td>
						<td style="text-align: center;">
				        <cpt:select id="purchase[index]" key="euipments"  name="purchase" onChange="initControlValue(this.id);countjsTable2('tblEuipmentLists');" style="width:80%"></cpt:select>
		                <input type="hidden" name="euipments|list[0]|purchase_value" class="required" label="购置/试制" />
		                <input type="hidden" name="euipments|list[0]|purchase_name" value=""/>
			            </td>
						<td>
							<input type="text" name="euipments|list[0]|price"  onchange="countjsTotal(this);" label="单价" onfocus="InitInput.setNumber(this,7,4,2)"   style="text-align:right;width:80%" class=" input_text required" />
						</td> 
						<td>
							<input type="text" name="euipments|list[0]|amount"  onchange="countjsTotal(this);" label="数量" onfocus="InitInput.setNumber(this,7,0,0)" style="text-align:right;width:80%" class=" input_text required" />
						</td>
						<td>
							<input type="text" name="euipments|list[0]|money" disabled label="总价"  onfocus="InitInput.setNumber(this,7,4,2)" style="text-align:right;width:80%" class=" input_text required gray" />
						</td> 
						<td>
							<input type="text" name="euipments|list[0]|model" label="型号" class=" input_text required" maxlength="50" style="width:80%"/>
						</td>
						<td>
							<input type="text" name="euipments|list[0]|country_name" label="生产国别" class=" input_text required" maxlength="50" style="width:80%"/>
						</td>
						<td>
							<input type="text" name="euipments|list[0]|invoice_number" label="发票号码" class=" input_text required" maxlength="50" style="width:80%"/>
						</td>
						<td align="center" nowrap><input  id="list_start_date_[0]" name="euipments|list[0]|start_date" label="日期" value="" class=" required input_text date " style="width:65px" /></td>
                         <td>
							<input type="text" name="euipments|list[0]|user_desc" label="用途"  class=" input_text required" maxlength="100" style="width:80%"/>
						</td> 
						<td>
							<input type="text" name="euipments|list[0]|remark" label="备注"  class=" input_text required" maxlength="100" style="width:80%"/>
						</td> 
					</tr>
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/euipments/list" var="list">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr align="center">
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selEuipmentLists" >
						</td>
						<td align="center">&nbsp;
							<span name="euipments/list[${flag}${index}]@seq_no" ><x:out select="$list/@seq_no"/></span> 
						</td>
						<td>
							<input type="text" name="euipments/list[${flag}${index}]/name"  label="设备名称" style="width:80%"   class=" input_text required" value="<x:out select="$list/name" />" maxlength="50"/>
						</td>
						<td style="text-align: center;">
						<c:set var="purchase_value"><x:out select="$list/purchase_value" /></c:set>
						<cpt:select id="purchase${index}" key="euipments" name="purchase"  value="${purchase_value }" onChange="initControlValue(this.id);countjsTable2('tblEuipmentLists');" style="width:80%"></cpt:select>
			            <input type="hidden" name="euipments/list[${flag}${index}]/purchase_value" class="required" label="购置/试制" value="<x:out select="$list/purchase_value" />"/>
			            <input type="hidden" name="euipments/list[${flag}${index}]/purchase_name" value="<x:out select="$list/purchase_name" />"/>
				        </td>
						<td >
							<input type="text" name="euipments/list[${flag}${index}]/price" onchange="countjsTotal(this);" label="单价"  onfocus="InitInput.setNumber(this,7,4,2)"   style="text-align:right;width:80%"  class=" input_text required" value="<x:out select="$list/price" />"/>
						</td> 
						<td >
							<input type="text" name="euipments/list[${flag}${index}]/amount" onchange="countjsTotal(this);" label="数量"  onfocus="InitInput.setNumber(this,7,0,0)"   style="text-align:right;width:80%"  class=" input_text required" value="<x:out select="$list/amount" />"/>
						</td>
						<td >
							<input type="text" name="euipments/list[${flag}${index}]/money"  label="总价" onfocus="InitInput.setNumber(this,7,4,2)" disabled  style="text-align:right;width:80%"  class=" input_text required gray" value="<x:out select="$list/money" />"/>
						</td> 
						
						<td>
							<input type="text" name="euipments/list[${flag}${index}]/model"  label="型号" style="width:80%"   class=" input_text required" value="<x:out select="$list/model" />" maxlength="50"/>
						</td>
						<td>
							<input type="text" name="euipments/list[${flag}${index}]/country_name"  label="生产国别" style="width:80%"   class=" input_text required" value="<x:out select="$list/country_name" />" maxlength="50"/>
						</td>
						<td>
							<input type="text" name="euipments/list[${flag}${index}]/invoice_number" label="发票号码"  style="width:80%"   class=" input_text required" value="<x:out select="$list/invoice_number" />" maxlength="50"/>
						</td>
						<td align="center" nowrap><c:set var="start_date" scope="page"><x:out select="$list/start_date"/></c:set>
							<input  id="list_start_date_[${flag}${index}]" value="${start_date}" name="euipments/list[${flag}${index}]/start_date" class="required date input_text" style="width:65px" label="日期" /> 
						</td>
						<td>
							<input type="text" name="euipments/list[${flag}${index}]/user_desc"  label="用途"  style="width:80%"   class=" input_text required" value="<x:out select="$list/user_desc" />" maxlength="50"/>
						</td> 
						<td>
							<input type="text" name="euipments/list[${flag}${index}]/remark"  label="备注"  style="width:80%"   class=" input_text required" value="<x:out select="$list/remark" />" maxlength="50"/>
						</td> 
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag("tblEuipmentLists");
					</script>
				</tbody>
					</table>
					<table   cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;" id="budgetsMsg3">
					<tr align="center">
					<td colspan="3" width="17%" align="left">购置无锡本地生产设备合计</td>
					<td width="8%">/</td>
					<td width="7%">/</td>
					<td width="7%"><input name="euipments_list/amount1" label="购置无锡本地生产设备数量合计" id="list_amount_1" onchange="countNum('','list_amount_1,list_amount_2,list_amount_3','list_amount_4');" value="<x:out select="$xmlData/data/euipments_list/amount1" />" class="required input_text" style="width:80%;text-align: right"    onfocus="InitInput.setNumber(this,7,0,0)" /></td>
					<td width="7%"><input name="euipments_list/money1" label="购置无锡本地生产设备总价合计" id="list_money_1" onchange="countFundAuto('','list_money_1,list_money_2,list_money_3','list_money_4');" value="<x:out select="$xmlData/data/euipments_list/money1" />" class="required input_text"  style="width:80%;text-align: right"  onfocus="InitInput.setNumber(this,7,4,2)" /></td>
					<td width="8%">/</td>
					<td width="10%">/</td>
					<td width="8%">/</td>
					<td width="12%">/</td>
					<td width="8%">/</td>
					<td width="8%"><input name="euipments_list/remark1" id="remark1" value="<x:out select="$xmlData/data/euipments_list/remark1" />" class=" input_text required" label="购置无锡本地生产设备合计备注" style="width:80%" /></td>
					</tr>
					<tr align="center">
					<td colspan="3" width="17%" align="left">购置外地生产设备合计</td>
					<td width="8%">/</td>
					<td width="7%">/</td>
					<td width="7%"><input name="euipments_list/amount2" label="购置外地生产设备合计数量合计" id="list_amount_2" onchange="countNum('','list_amount_1,list_amount_2,list_amount_3','list_amount_4');" value="<x:out select="$xmlData/data/euipments_list/amount2" />" class="required input_text" style="width:80%;text-align: right"    onfocus="InitInput.setNumber(this,7,0,0)" /></td>
					<td width="7%"><input name="euipments_list/money2" label="购置外地生产设备合计总价合计" id="list_money_2" onchange="countFundAuto('','list_money_1,list_money_2,list_money_3','list_money_4');" value="<x:out select="$xmlData/data/euipments_list/money2" />" class="required input_text"  style="width:80%;text-align: right"  onfocus="InitInput.setNumber(this,7,4,2)" /></td>
					<td width="8%">/</td>
					<td width="10%">/</td>
					<td width="8%">/</td>
					<td width="12%">/</td>
					<td width="8%">/</td>
					<td width="8%"><input name="euipments_list/remark2" id="remark2" value="<x:out select="$xmlData/data/euipments_list/remark2" />" class=" input_text required" label="购置外地生产设备合计备注" style="width:80%" /></td>
					</tr>
					<tr align="center">
					<td colspan="3" width="17%" align="left">试置设备合计</td>
					<td width="8%">/</td>
					<td width="7%">/</td>
					<td width="7%"><input name="euipments_list/amount3" label="试置设备数量合计" id="list_amount_3" onchange="countNum('','list_amount_1,list_amount_2,list_amount_3','list_amount_4');" value="<x:out select="$xmlData/data/euipments_list/amount3" />" class="required input_text" style="width:80%;text-align: right"    onfocus="InitInput.setNumber(this,7,0,0)" /></td>
					<td width="7%"><input name="euipments_list/money3" label="试置设备总价合计" id="list_money_3" onchange="countFundAuto('','list_money_1,list_money_2,list_money_3','list_money_4');" value="<x:out select="$xmlData/data/euipments_list/money3" />" class="required input_text"  style="width:80%;text-align: right"  onfocus="InitInput.setNumber(this,7,4,2)" /></td>
					<td width="8%">/</td>
					<td width="10%">/</td>
					<td width="8%">/</td>
					<td width="12%">/</td>
					<td width="8%">/</td>
					<td width="8%"><input name="euipments_list/remark3" id="remark3" value="<x:out select="$xmlData/data/euipments_list/remark3" />" class=" input_text required" label="试置设备合计备注" style="width:80%" /></td>
					</tr>
					<tr align="center">
					<td colspan="3">合     计</td>
					<td>/</td>
					<td>/</td>
					<td><input name="euipments_list/amount4" id="list_amount_4" value="<x:out select="$xmlData/data/euipments_list/amount4" />"  class="gray input_text"  disabled style="width:80%;text-align: right;" onfocus="InitInput.setNumber(this,7,0,0)" /></td>
					<td><input name="euipments_list/money4" id="list_money_4" value="<x:out select="$xmlData/data/euipments_list/money4" />"  class="gray input_text "  disabled  style="width:80%;text-align: right;" onfocus="InitInput.setNumber(this,7,4,2)" /></td>
					<td>/</td>
					<td>/</td>
					<td>/</td>
					<td>/</td>
					<td>/</td>
					<td><input name="euipments_list/remark4" id="remark4" value="<x:out select="$xmlData/data/euipments_list/remark4" />" class=" input_text required" label="表1已投入设备清单明细表合计备注" style="width:80%" /></td>
					</tr>
					</table>
					
					<table width="98%" align="center" border="0">
					<tr style="border: 0"><td style="border: 0">
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="addNewRow('tblEuipmentLists');showDateTag('tblEuipmentLists');try{top.resizeFrame();}catch(e){};">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblEuipmentLists','selEuipmentLists')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblEuipmentLists','selEuipmentLists')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblEuipmentLists','表1 ：已投入设备清单明细表');">
					</td></tr>
	</table>
	
	
	
	
	<br/>
<div class="t_bar">表2：计划新增设备清单明细表</div>
<table  id="tblIncreaseds" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="6%">选择</th>
						<th class="TblHead" align="center"  width="6%">序号</th>
						<th class="TblHead" align="center"  width="9%">设备名称</th> 
						<th class="TblHead" align="center"  width="8%">购置/试制</th> 
				        <th class="TblHead" align="center"  width="11%">设备单价<br/>（万元/台件）</th> 
						<th class="TblHead" align="center"  width="7%">数量<br/>（台件）</th>
						<th class="TblHead" align="center"  width="7%">总价<br/>（万元）</th>
						<th class="TblHead" align="center"  width="8%">设备型号</th>  
						<th class="TblHead" align="center"  width="10%">设备生产国<br/>别与地区</th>
						<th class="TblHead" align="center"  width="12%">计划投入日期</th>   
						<th class="TblHead" align="center"  width="8%">用途</th>   
						<th class="TblHead" align="center"  width="8%">备注</th>           
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none" align="center">
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selIncreaseds" >
						</td>
						<td align="center">&nbsp;
							<span name="increaseds|list[0]@seq_no" >[index]</span> 
						</td>
						<td>
							<input type="text" name="increaseds|list[0]|name" label="设备名称" class=" required input_text " maxlength="50" style="width:80%"/>
						</td>
						<td style="text-align: center;">
				        <cpt:select id="apurchase[index]" key="euipments"  name="purchase1" onChange="initControlValue(this.id);countjsTable2('tblIncreaseds');" style="width:80%"></cpt:select>
		                <input type="hidden" name="increaseds|list[0]|purchase1_value" class="required" label="购置/试制" />
		                <input type="hidden" name="increaseds|list[0]|purchase1_name" value=""/>
			            </td>
						<td>
							<input type="text" name="increaseds|list[0]|price"  onchange="countjsTotal(this);" label="单价" onfocus="InitInput.setNumber(this,7,4,2)"   style="text-align:right;width:80%" class=" input_text required" />
						</td> 
						<td>
							<input type="text" name="increaseds|list[0]|amount"  onchange="countjsTotal(this);" label="数量" onfocus="InitInput.setNumber(this,7,0,0)" style="text-align:right;width:80%" class=" input_text required" />
						</td>
						<td>
							<input type="text" name="increaseds|list[0]|money" disabled label="总价"  onfocus="InitInput.setNumber(this,7,4,2)" style="text-align:right;width:80%" class=" input_text required gray" />
						</td> 
						<td>
							<input type="text" name="increaseds|list[0]|model" label="型号" class=" input_text required" maxlength="50" style="width:80%"/>
						</td>
						<td>
							<input type="text" name="increaseds|list[0]|country_name" label="生产国别" class=" input_text required" maxlength="50" style="width:80%"/>
						</td>
						<td align="center" nowrap><input  id="list_start_date_[0]" name="increaseds|list[0]|start_date" label="计划投入日期" value="" class=" required input_text date " style="width:65px" /></td>
                         <td>
							<input type="text" name="increaseds|list[0]|user_desc" label="用途"  class=" input_text required" maxlength="100" style="width:80%"/>
						</td> 
						<td>
							<input type="text" name="increaseds|list[0]|remark" label="备注"  class=" input_text required" maxlength="100" style="width:80%"/>
						</td> 
					</tr>
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/increaseds/list" var="list">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr align="center">
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selIncreaseds" >
						</td>
						<td align="center">&nbsp;
							<span name="increaseds/list[${flag}${index}]@seq_no" ><x:out select="$list/@seq_no"/></span> 
						</td>
						<td>
							<input type="text" name="increaseds/list[${flag}${index}]/name"  label="设备名称" style="width:80%"   class=" input_text required" value="<x:out select="$list/name" />" maxlength="50"/>
						</td>
						<td style="text-align: center;">
						<c:set var="purchase1_value"><x:out select="$list/purchase1_value" /></c:set>
						<cpt:select id="apurchase${index}" key="euipments" name="purchase1"  value="${purchase1_value }" onChange="initControlValue(this.id);countjsTable2('tblIncreaseds');" style="width:80%"></cpt:select>
			            <input type="hidden" name="increaseds/list[${flag}${index}]/purchase1_value" class="required" label="购置/试制" value="<x:out select="$list/purchase1_value" />"/>
			            <input type="hidden" name="increaseds/list[${flag}${index}]/purchase1_name" value="<x:out select="$list/purchase1_name" />"/>
				        </td>
						<td >
							<input type="text" name="increaseds/list[${flag}${index}]/price" onchange="countjsTotal(this);" label="单价"  onfocus="InitInput.setNumber(this,7,4,2)"   style="text-align:right;width:80%"  class=" input_text required" value="<x:out select="$list/price" />"/>
						</td> 
						<td >
							<input type="text" name="increaseds/list[${flag}${index}]/amount" onchange="countjsTotal(this);" label="数量"  onfocus="InitInput.setNumber(this,7,0,0)"   style="text-align:right;width:80%"  class=" input_text required" value="<x:out select="$list/amount" />"/>
						</td>
						<td >
							<input type="text" name="increaseds/list[${flag}${index}]/money"  label="总价" onfocus="InitInput.setNumber(this,7,4,2)" disabled  style="text-align:right;width:80%"  class=" input_text required gray" value="<x:out select="$list/money" />"/>
						</td> 
						
						<td>
							<input type="text" name="increaseds/list[${flag}${index}]/model"  label="型号" style="width:80%"   class=" input_text required" value="<x:out select="$list/model" />" maxlength="50"/>
						</td>
						<td>
							<input type="text" name="increaseds/list[${flag}${index}]/country_name"  label="生产国别" style="width:80%"   class=" input_text required" value="<x:out select="$list/country_name" />" maxlength="50"/>
						</td>
						<td align="center" nowrap><c:set var="start_date" scope="page"><x:out select="$list/start_date"/></c:set>
							<input  id="list_start_date_[${flag}${index}]" value="${start_date}" name="increaseds/list[${flag}${index}]/start_date" class="required date input_text" style="width:65px" label="计划投入日期" /> 
						</td>
						<td>
							<input type="text" name="increaseds/list[${flag}${index}]/user_desc"  label="用途"  style="width:80%"   class=" input_text required" value="<x:out select="$list/user_desc" />" maxlength="50"/>
						</td> 
						<td>
							<input type="text" name="increaseds/list[${flag}${index}]/remark"  label="备注"  style="width:80%"   class=" input_text required" value="<x:out select="$list/remark" />" maxlength="50"/>
						</td> 
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag("tblIncreaseds");
					</script>
				</tbody>
					</table>
					<table   cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;" id="budgetsMsg4">
					<tr align="center">
					<td colspan="3" width="21%" align="left">购置无锡本地生产设备合计</td>
					<td width="8%">/</td>
					<td width="11%">/</td>
					<td width="7%"><input name="increaseds_list/amount1" label="购置无锡本地生产设备数量合计" id="increased_list_amount_1" onchange="countNum('','increased_list_amount_1,increased_list_amount_2,increased_list_amount_3','increased_list_amount_4');" value="<x:out select="$xmlData/data/increaseds_list/amount1" />" class="required input_text" style="width:80%;text-align: right"    onfocus="InitInput.setNumber(this,7,0,0)" /></td>
					<td width="7%"><input name="increaseds_list/money1" label="购置无锡本地生产设备总价合计" id="increased_list_money_1" onchange="countFundAuto('','increased_list_money_1,increased_list_money_2,increased_list_money_3','increased_list_money_4');" value="<x:out select="$xmlData/data/increaseds_list/money1" />" class="required input_text"  style="width:80%;text-align: right"  onfocus="InitInput.setNumber(this,7,4,2)" /></td>
					<td width="8%">/</td>
					<td width="10%">/</td>
					<td width="12%">/</td>
					<td width="8%">/</td>
					<td width="8%"><input name="increaseds_list/remark1" id="increaseds_remark1" value="<x:out select="$xmlData/data/increaseds_list/remark1" />" class=" input_text required" label="购置无锡本地生产设备合计备注" style="width:80%" /></td>
					</tr>
					<tr align="center">
					<td colspan="3" width="21%" align="left">购置外地生产设备合计</td>
					<td width="8%">/</td>
					<td width="11%">/</td>
					<td width="7%"><input name="increaseds_list/amount2" label="购置外地生产设备数量合计" id="increased_list_amount_2" onchange="countNum('','increased_list_amount_1,increased_list_amount_2,increased_list_amount_3','increased_list_amount_4');"" value="<x:out select="$xmlData/data/increaseds_list/amount2" />" class="required input_text" style="width:80%;text-align: right"    onfocus="InitInput.setNumber(this,7,0,0)" /></td>
					<td width="7%"><input name="increaseds_list/money2" label="购置外地生产设备总价合计" id="increased_list_money_2" onchange="countFundAuto('','increased_list_money_1,increased_list_money_2,increased_list_money_3','increased_list_money_4');" value="<x:out select="$xmlData/data/increaseds_list/money2" />" class="required input_text"  style="width:80%;text-align: right"  onfocus="InitInput.setNumber(this,7,4,2)" /></td>
					<td width="8%">/</td>
					<td width="10%">/</td>
					<td width="12%">/</td>
					<td width="8%">/</td>
					<td width="8%"><input name="increaseds_list/remark2" id="increaseds_remark2" value="<x:out select="$xmlData/data/increaseds_list/remark2" />" class=" input_text required" label="购置外地生产设备合计备注" style="width:80%" /></td>
					</tr>
					<tr align="center">
					<td colspan="3" width="21%" align="left">试置设备合计</td>
					<td width="8%">/</td>
					<td width="11%">/</td>
					<td width="7%"><input name="increaseds_list/amount3" label="试置设备合计" id="increased_list_amount_3" onchange="countNum('','increased_list_amount_1,increased_list_amount_2,increased_list_amount_3','increased_list_amount_4');"" value="<x:out select="$xmlData/data/increaseds_list/amount3" />" class="required input_text" style="width:80%;text-align: right"    onfocus="InitInput.setNumber(this,7,0,0)" /></td>
					<td width="7%"><input name="increaseds_list/money3" label="试置设备合计" id="increased_list_money_3" onchange="countFundAuto('','increased_list_money_1,increased_list_money_2,increased_list_money_3','increased_list_money_4');" value="<x:out select="$xmlData/data/increaseds_list/money3" />" class="required input_text"  style="width:80%;text-align: right"  onfocus="InitInput.setNumber(this,7,4,2)" /></td>
					<td width="8%">/</td>
					<td width="10%">/</td>
					<td width="12%">/</td>
					<td width="8%">/</td>
					<td width="8%"><input name="increaseds_list/remark3" id="increaseds_remark3" value="<x:out select="$xmlData/data/increaseds_list/remark3" />" class=" input_text required" label="试置设备合计备注" style="width:80%" /></td>
					</tr>
					<tr align="center">
					<td colspan="3">合     计</td>
					<td>/</td>
					<td>/</td>
					<td><input name="increaseds_list/amount4" id="increased_list_amount_4" value="<x:out select="$xmlData/data/increaseds_list/amount4" />"  class="gray input_text"  disabled style="width:80%;text-align: right;" onfocus="InitInput.setNumber(this,7,0,0)" /></td>
					<td><input name="increaseds_list/money4" id="increased_list_money_4" value="<x:out select="$xmlData/data/increaseds_list/money4" />"  class="gray input_text "  disabled  style="width:80%;text-align: right;" onfocus="InitInput.setNumber(this,7,4,2)" /></td>
					<td>/</td>
					<td>/</td>
					<td>/</td>
					<td>/</td>
					<td><input name="increaseds_list/remark4" id="increaseds_remark3" value="<x:out select="$xmlData/data/increaseds_list/remark4" />" class=" input_text required" label="表2计划新增设备清单明细表合计备注" style="width:80%" /></td>
					</tr>
					</table>
					
					<table width="98%" align="center" border="0">
					<tr style="border: 0"><td style="border: 0">
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="addNewRow('tblIncreaseds');showDateTag('tblIncreaseds');try{top.resizeFrame();}catch(e){};">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblIncreaseds','selIncreaseds')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblIncreaseds','selIncreaseds')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblIncreaseds','表2：计划新增设备清单明细表');">
					</td></tr>
	</table>	
<br/>
<div class="t_bar">表3：已投入技术服务费明细表</div>
<table  id="tblTechnicals" cellpadding="0" class="table01" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="5%">选择</th>
						<th class="TblHead" align="center"  width="5%">序号</th>
						<th class="TblHead" align="center"  width="12%">服务内容</th> 
				        <th class="TblHead" align="center"  width="13%">服务提供单位</th> 
						<th class="TblHead" align="center"  width="10%">计量单位</th> 
						<th class="TblHead" align="center"  width="10%">数量</th> 
						<th class="TblHead" align="center"  width="10%">总价（万元）</th> 
						<th class="TblHead" align="center"  width="10%">发票号码</th> 
						<th class="TblHead" align="center"  width="13%">日期	</th> 
						<th class="TblHead" align="center"  width="12%">备注</th> 
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none">
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selTechnicals" >
						</td>
						<td align="center">&nbsp;
							<span name="technicals|technical[0]@seq_no" >[index]</span> 
						</td>
						<td>
							<input type="text" name="technicals|technical[0]|content"  class=" input_text required" maxlength="50" style="width:80%" label="服务内容"/>
						</td>
						<td>
							<input type="text" name="technicals|technical[0]|orgname"  label="服务提供单位" maxlength="50" style="width:80%" class=" input_text required" />
						</td> 
						<td>
							<input type="text" name="technicals|technical[0]|calculate_unit"  class=" input_text required" maxlength="50" style="width:80%" label="计量单位"/>
						</td>
						<td>
							<input type="text" name="technicals|technical[0]|number"  label="数量" onchange="ledningVal();" onfocus="InitInput.setNumber(this,7,0,0)" style="text-align:right;width:80%" class=" input_text required" />
						</td>
						<td>
							<input type="text" name="technicals|technical[0]|total_prices"  label="总价" onchange="ledningVal();" onfocus="InitInput.setNumber(this,7,4,2)" style="text-align:right;width:80%" class=" input_text required" />
						</td> 
						<td>
							<input type="text" name="technicals|technical[0]|invoice_no" label="发票号码"  style="width:80%" style="width:80%" class="input_text required"/>
						</td>  
						<td>
							<input id="technical_date[0]" name="technicals|technical[0]|technical_date" value="" style="width:80px" class="input_text required date  color_gray" readOnly label="日期" />
						</td> 
						<td>
							<input type="text" name="technicals|technical[0]|remark" label="备注"  style="width:80%" style="width:80%" class="input_text required"/>
						</td> 
						
					</tr>
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/technicals/technical" var="technical">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr >
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selTechnicals" >
						</td>
						<td align="center">&nbsp;
							<span name="technicals/technical[${flag}${index}]@seq_no" ><x:out select="$technical/@seq_no"/></span> 
						</td>
						<td>
							<input type="text" name="technicals/technical[${flag}${index}]/content"   style="width:80%"   class=" input_text required" value="<x:out select="$technical/content"/>" label="服务内容" maxlength="50"/>
						</td>
						<td>
							<input type="text" name="technicals/technical[${flag}${index}]/orgname"   style="width:80%"   class=" input_text required" value="<x:out select="$technical/orgname"/>" label="服务提供单位" maxlength="50"/>
						</td>
						<td>
							<input type="text" name="technicals/technical[${flag}${index}]/calculate_unit"   style="width:80%"   class=" input_text required" value="<x:out select="$technical/calculate_unit"/>" label="计量单位" maxlength="50"/>
						</td>
						<td >
							<input type="text" name="technicals/technical[${flag}${index}]/number" onchange="ledningVal();" onfocus="InitInput.setNumber(this,7,0,0)" label="数量"  style="text-align:right;width:80%"  class=" input_text required" value="<x:out select="$technical/number" />"/>
						</td> 
						<td >
							<input type="text" name="technicals/technical[${flag}${index}]/total_prices" onchange="ledningVal();" onfocus="InitInput.setNumber(this,7,4,2)" label="总价"  style="text-align:right;width:80%"  class=" input_text required" value="<x:out select="$technical/total_prices" />"/>
						</td> 
						<td>
							<input type="text" name="technicals/technical[${flag}${index}]/invoice_no"   style="width:80%"   class=" input_text required" value="<x:out select="$technical/invoice_no"/>" label="发票号码" maxlength="50"/>
						</td>
						<td >
							<input id="technical_date${flag}${index}" name="technicals/technical[${flag}${index}]/technical_date" value="<x:out select='$technical/technical_date' />" class="input_text required date color_gray" readOnly label="开票日期" style="width:80px"/>
						</td> 
						<td>
							<input type="text" name="technicals/technical[${flag}${index}]/remark"   style="width:80%"   class=" input_text required" value="<x:out select="$technical/remark"/>" label="备注" maxlength="50"/>
						</td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag('tblTechnicals');
					</script>
				</tbody>
					</table>
					<table   cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;" id="dkqk1">
					<tr >
					<td colspan="5" width="45%" align="center">合计</td>
					<td width="10%" ><input name="technicals/number_total" id="number_total" value="<x:out select="$xmlData/data/technicals/number_total" />" disabled class=" input_text gray" label="数量合计" style="text-align:right;width:80%" /></td>
					<td width="10%" ><input name="technicals/prices_total" id="prices_total" value="<x:out select="$xmlData/data/technicals/prices_total" />" disabled class=" input_text gray" label="总价合计" style="text-align:right;width:80%" /></td>
					<td width="10%" align="center">\</td>
					<td width="13%" align="center">\</td>
					<td width="12%" align="center">\</td>
					</tr>
                   </table>
					<table width="98%" align="center">
					<tr ><td>
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="addNewRow('tblTechnicals');showAllDateTag('tblTechnicals');try{top.resizeFrame();}catch(e){};ledningVal();">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblTechnicals','selTechnicals')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblTechnicals','selTechnicals')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblTechnicals','物联网产品或服务销售发票清单情况');ledningVal();">
					</td></tr>
	</table>


<script type="text/javascript">
$(document).ready(function() {
var prp_version=$("#prp_version").text();

if(prp_version==""||prp_version==null){
	$("#budgetsMsg").find(":input").each(function(){
	$(this).val("0.00");	
	});
	
	$("#budgetsMsg1").find(":input").each(function(){
		$(this).val("0.00");	
		});
	
	$("#budgetsMsg2").find(":input").each(function(){
		$(this).val("0.00");	
		});
	
	$("#fundAdds").find(":input[type!=hidden]").not(":input[name$=total_country]").each(function(){
		$(this).val("0.00");	
		});
}

/* var flag_shizhi = $("#flag_shizhi").val();
if(flag_shizhi ==  1){
	$("#source_city").attr("disabled",true);
    $("#source_city").addClass("gray");
}else{ */
 	$("#source_city").attr("disabled",true);
	$("#source_area").attr("disabled",true);
	$("#source_city").addClass("gray");
	$("#source_area").addClass("gray"); 
/* } */
	countjsTableOther("tblEuipmentLists");
    countjsTableOther("tblIncreaseds");
});


function ledningVal(){
	 var number=0;
	 var total_prices = 0;
	 $("#tblTechnicals").find("input[name$='number']").each(function() {
		 if ($.isNumeric($(this).val())) {
			 number = parseInt(number) + parseInt($(this).val());
		 }
	 });
	 $("#tblTechnicals").find("input[name$='total_prices']").each(function() {
		 if ($.isNumeric($(this).val())) {
			 total_prices = parseFloat(total_prices) + parseFloat($(this).val());
		 }
	 });
	 
	 total_prices = ((parseFloat(total_prices)*10000)/10000).toFixed(4);
	 
	 $("#number_total").val(number);
	 $("#prices_total").val(formatNumberAutoOther(total_prices+"", 7, 4, 2));
}
	
function synchro(){
	var val = $("#source_apply").val();
	var xmjhtzze = $("#source_total").val();
	var ytrzj = $("#source_already").val();
	var jhxztrzj = $("#source_add").val();
	var purchase_equipment = $("#purchase_equipment").val();
	var bd_purchase_equipment =$("#bd_purchase_equipment").val();
	$("#ytrzj").val(formatNumberAuto(ytrzj+"", 7, 4, 2));
	$("#sqje").val(formatNumberAuto(val+"", 7, 4, 2));
	$("#xmjhtzze").val(formatNumberAuto(xmjhtzze+"", 7, 4, 2));
	$("#jhxztrzj").val(formatNumberAuto(jhxztrzj+"", 7, 4, 2));
	$("#sbgze").val(formatNumberAuto(purchase_equipment+"", 7, 4, 2));
	$("#bdsbcge").val(formatNumberAuto(bd_purchase_equipment+"", 7, 4, 2));
	
}

function setSource(val){
	var areaNo = $("input[name$='area_no']").val();
	var flag_shizhi = $("#flag_shizhi").val();
	if(flag_shizhi ==  1){
		if((formatNumberAuto(val+"", 7, 4, 2)*10000)%10000!=0)
			$("#source_city").val(formatNumberAuto(val+"0000", 7, 4, 2));
		else
			$("#source_city").val(formatNumberAuto(val+".0000", 7, 4, 2));
		$("#source_area").val("0.00");
	}else{
		if(areaNo == '320202' || areaNo == '320204' || areaNo == '320203'){
			
		if((formatNumberAuto(val*0.8+"", 7, 4, 2)*10000)%10000!=0)
			$("#source_city").val(formatNumberAuto(val*0.8+"0000", 7, 4, 2));
		else
			$("#source_city").val(formatNumberAuto(val*0.8+".0000", 7, 4, 2));
		
		
		if((val*10000-formatNumberAuto(val*0.8+"", 7, 4, 2)*10000)%10000!=0){
		 	$("#source_area").val(formatNumberAuto(((val*10000-formatNumberAuto(val*0.8+"", 7, 4, 2)*10000)/10000)+"0000", 7, 4, 2));
		}else{
			$("#source_area").val(formatNumberAuto(((val*10000-formatNumberAuto(val*0.8+"", 7, 4, 2)*10000)/10000)+".0000", 7, 4, 2));
		}
		}else if(areaNo == '320205' || areaNo == '320206' || areaNo == '320211' || areaNo == '320212' || areaNo == '320281' || areaNo == '320282'){
			//$("#source_city").val(formatNumberAuto(val*0.5+"", 7, 4, 2));
			if((formatNumberAuto(val*0.5+"", 7, 4, 2)*10000)%10000!=0)
				$("#source_city").val(formatNumberAuto(val*0.5+"0000", 7, 4, 2));
			else
				$("#source_city").val(formatNumberAuto(val*0.5+".0000", 7, 4, 2));
			
			if((val*10000-formatNumberAuto(val*0.5+"", 7, 4, 2)*10000)%10000!=0){
				$("#source_area").val(formatNumberAuto(((val*10000-formatNumberAuto(val*0.5+"", 7, 4, 2)*10000)/10000)+"0000", 7, 4, 2));
			}else
				$("#source_area").val(formatNumberAuto(((val*10000-formatNumberAuto(val*0.5+"", 7, 4, 2)*10000)/10000)+".0000", 7, 4, 2));
		}/* else if(areaNo == '320281' || areaNo == '320282'){
			//$("#source_city").val(formatNumberAuto(val*0.2+"", 7, 4, 2));
			if((formatNumberAuto(val*0.2+"", 7, 4, 2)*10000)%10000!=0)
				$("#source_city").val(formatNumberAuto(val*0.2+"0000", 7, 4, 2));
			else
				$("#source_city").val(formatNumberAuto(val*0.2+".0000", 7, 4, 2));
			if((val*10000-formatNumberAuto(val*0.2+"", 7, 4, 2)*10000)%10000!=0){
				$("#source_area").val(formatNumberAuto(((val*10000-formatNumberAuto(val*0.2+"", 7, 4, 2)*10000)/10000)+"0000", 7, 4, 2));
			}else{
				$("#source_area").val(formatNumberAuto(((val*10000-formatNumberAuto(val*0.2+"", 7, 4, 2)*10000)/10000)+".0000", 7, 4, 2));
				
			}
		} */
	}
}



function countjsTotal(obj) {
	
	var price = $(obj).parent().parent().find("[name$='price']").val();
	var amount = $(obj).parent().parent().find("[name$='amount']").val();
	
	if (!$.isNumeric(price) || !$.isNumeric(amount) ) {
		$(obj).parent().parent().find("[name$='money']").val("");
	} else {
		var count = Math.round(parseFloat(price)*10000 * parseInt(amount,10))/10000;
		count = formatNumberAutoOther(count.toString(), 9, 4, 2);// 格式化金额
		$(obj).parent().parent().find("[name$='money']").val(count);
	}
	
}

function countjsTable2(tblId){
	  
	   $("#"+tblId+" tr:gt(1)").each(function() {
		   var fund = $(this).children().eq("3").children().val();
		   var fund2 = $(this).children().eq("4").children().val();
		   var fund3 = $(this).children().eq("5").children().val();
		   var fund4 = $(this).children().eq("6").children().val();
		   
		   if (!$.isNumeric(fund))  fund = "0";
		   if (!$.isNumeric(fund2)) fund2 = "0";
		   if (!$.isNumeric(fund3)) fund3 = "0";
		   if (!$.isNumeric(fund4)) fund4 = "0";
		   if(fund==2){
			   $(this).children().eq("7").children().removeClass("required");
			   $(this).children().eq("8").children().removeClass("required");
		   }else{
			   $(this).children().eq("7").children().addClass("required");
			   $(this).children().eq("8").children().addClass("required");
		   }
			
    });
	   
}

function countjsTableOther(tblId){
	   var fund = "";
	   $("#"+tblId+" tr:gt(1)").each(function() {
		   if(tblId=="tblEuipmentLists"){
			   fund = $(this).children().eq("3").find("input[name$='purchase_value']").val();
		   }
		   if(tblId=="tblIncreaseds"){
		       fund = $(this).children().eq("3").find("input[name$='purchase1_value']").val();   
		   }
		   if(fund==2){
			   $(this).children().eq("7").children().removeClass("required");
			   $(this).children().eq("8").children().removeClass("required");
		   }else{
			   $(this).children().eq("7").children().addClass("required");
			   $(this).children().eq("8").children().addClass("required");
		   }
 });
	   
}

</script>
